package com.is.add.model;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 服务器监控列表
 */
@Entity
@Table(name = "t_server_list")
public class ServerList {
    @Id
    @Column(name = "id")
    private Long id;                     //ID
    @Column(name = "server_name")
    private String serverName;
    @Column(name = "url_name")
    private String urlName;
    @Column(name = "server_url")
    private String serverUrl;
    @Column(name = "has_monitor")
    private boolean hasMonitor;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }

    public String getUrlName() {
        return urlName;
    }

    public void setUrlName(String urlName) {
        this.urlName = urlName;
    }

    public String getServerUrl() {
        return serverUrl;
    }

    public void setServerUrl(String serverUrl) {
        this.serverUrl = serverUrl;
    }

    public boolean isHasMonitor() {
        return hasMonitor;
    }

    public void setHasMonitor(boolean hasMonitor) {
        this.hasMonitor = hasMonitor;
    }
}
